package com.circle.rest.modular.sys.model;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 字典组信息
 * </p>
 *
 * @author 赵航
 * @since 2019-04-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_dict_group")
@ApiModel(value = "DictGroup对象", description = "字典组信息")
public class DictGroup implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "字典组KEY")
    private String groupKey;

    @ApiModelProperty(value = "字典组名称")
    private String groupName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态(1：启用  2：冻结 ）")
    private Integer status;

    @ApiModelProperty(value = "删除状态")
    @TableLogic
    private Integer deleteState;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "乐观锁")
    @Version
    private Integer version;


}
